package com.punch.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.punch.common.page.PageInfo;
import com.punch.common.query.order.SettlementQueryInfo;
import com.punch.common.vo.order.ClassSettlementPageVO;
import com.punch.common.vo.order.SettlementPageVO;
import com.punch.order.model.CourseSettlement;


/**
 * <p>
 * 课程结算表 服务类
 * </p>
 *
 * @author wjj
 * @since 2020-09-26
 */
public interface CourseSettlementService extends IService<CourseSettlement> {


    /**
     * 课程结算列表
     *
     * @param settlementQueryInfo 结算查询信息
     * @return SettlementPageVO
     */
    PageInfo<SettlementPageVO> listCourseSettlement(SettlementQueryInfo settlementQueryInfo);

    /**
     * 课程结算班级列表
     *
     * @param settlementQueryInfo 结算查询信息
     * @return ClassSettlementPageVO
     */
    PageInfo<ClassSettlementPageVO> listCourseClassSettlement(SettlementQueryInfo settlementQueryInfo);

    /**
     * 教具结算修改状态
     *
     * @param settlementId 结算id
     * @return settlementId
     */
    Long updateCourseSettlementStatus(Long settlementId, Integer settlementStatus);
}
